package com.mccken.springframework.beans;

import java.util.HashMap;
import java.util.Map;

/**
 * @program: mccken-collect
 * @description:
 * @author: mccken
 * @create: 2022-11-29 15:43
 **/
public class UserDao {
	private static Map<String, String> hashMap = new HashMap<>();
	
	static {
		hashMap.put("1001", "mccken");
		hashMap.put("1002", "tiya");
		hashMap.put("1003", "lizhi");
	}
	
	public String queryUserName(String uid) {
		return hashMap.get(uid);
	}
}
